<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
  <!-- <meta name="viewport" content="width=device-width, initial-scale=1" /> -->
  <meta name="theme-color" content="#000000" />
  
  <!-- <meta name="description" content="Web site created using create-react-app" /> -->
  <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
  <title>幸运抽奖</title>
</head>

<body>
  <div id="root"></div>
  <script>
    /(iPhone|iPad|iPhone OS|Phone|iPod|iOS)/i.test(navigator.userAgent) && (head = document.getElementsByTagName('head'), viewport = document.createElement('meta'), viewport.name = 'viewport', viewport.content = 'target-densitydpi=device-dpi, width=device-widths, user-scalable=no', head.length > 0 && head[head.length - 1].appendChild(viewport));
  </script>
  <script>


    (function () { // android
      if (
        typeof WeixinJSBridge === 'object' &&
        typeof WeixinJSBridge.invoke === 'function'
      ) {
        handleFontSize()
      } else {
        if (document.addEventListener) {
          document.addEventListener(
            'WeixinJSBridgeReady',
            handleFontSize,
            false
          )
        } else if (document.attachEvent) {
          document.attachEvent(
            'WeixinJSBridgeReady',
            handleFontSize
          )
          document.attachEvent(
            'onWeixinJSBridgeReady',
            handleFontSize
          )
        }
      }
      function handleFontSize() {
        // 设置网页字体为默认大小
        WeixinJSBridge.invoke('setFontSizeCallback', {
          fontSize: 0
        })
        // 重写设置网页字体大小的事件
        WeixinJSBridge.on('menu:setfont', function () {
          WeixinJSBridge.invoke('setFontSizeCallback', {
            fontSize: 0
          })
        })
      }
    })()
  </script>
</body>

</html>